<!doctype html>
<uieip type="page" value="base"></uieip>
<uieip type="reg" value="console,cms"></uieip>

<html>

<head>
    <uieip type="file" value="inc" src="/cms/inc/pc_head_inc.html"></uieip>
    <uieip type="tmpl" value="cms.title"></uieip>
</head>

<body>
    <div class="container">
        <uieip type="file" value="exec" src="/cms/inc/pc_topmenu_exec.html"></uieip>
        <uieip type="file" value="exec" src="/cms/inc/pc_breadcrumb_exec.html"></uieip>
        <div class="row">
            <div class="col-md-3 col-sm-4 nopaddingright">
                <uieip type="file" value="exec" src="/cms/inc/pc_leftmenu_exec.html"></uieip>
            </div>
            <div class="col-md-9 col-sm-8">
                <uieip id="div_row" type="tmpl" value="cms.datarow" dbname="yqbase" tbname="cms_oneshot"
                    seek="tid='{id}'" js="datarow_js"></uieip>
            </div>
        </div>
    </div>
    <uieip type="file" value="inc" src="/cms/inc/pc_footer_inc.html"></uieip>
    <script runat="server">
        function datarow_js(data) {
            //response.write(JSON.stringify(data));
            if (data.row) {
                var h_ = '<div class="article jumbotron">';
                h_ += JSON.parse(data.row.body).html;
                h_ += '</div>';
                return h_;
            } else {
                return "";
            }
        }
    </script>
    <script>
        $(function () {
            $(window).resize(function () {
                onresize();
            });
            onresize();
        });
        function onresize() {
            $(".inner-info").css({ "margin-bottom": "0px" });
            var $foot_ = $(".footer .container");
            var h_ = parseInt($(document).height() - ($foot_.offset().top + $foot_.height()));

            if (h_ > 0) {
                $(".footer").prev().css({ "margin-bottom": h_ + "px" });
            }
        }
    </script>
</body>

</html>